<template>
    <el-dialog
        :visible="show"
        @close="close"
        center="true"
        show-close="true"
        close-on-click-modal="false"
        close-on-press-escape="false"
        title="个人资料"
        lock-scroll
        fullscreen="true"
    >
        {{userInfo}}
    </el-dialog>
</template>

<script>
    export default {
        name: "index",
        props : {
            show : {
                type : Boolean,
                value : false,
            },
            userInfo : {
                type : Object,
            }
        },
        methods : {
            close(){
                this.$emit("close");
            }
        }
    }
</script>

<style scoped>

</style>
